﻿<?xml version="1.0" encoding="utf-8" ?>

<platform xmlns="http://metalx.org/Platform" namespace="http://metalx.org/Nintendo/Nes/Registers">
	<constants>
		<constant name="PpuControl0" value="2000"/>
		<constant name="PpuControl1" value="2001"/>
		<constant name="PpuStatus" value="2002"/>
		<constant name="SpriteAddress" value="2003"/>
		<constant name="SpriteData" value="2004"/>
		<constant name="ScreenScroll" value="2005"/>
		<constant name="PpuAddress" value="2006"/>
		<constant name="PpuData" value="2007"/>

		<constant name="Square0VolumeAndDecay" value="4000"/>
		<constant name="Square1VolumeAndDecay" value="4004"/>
		<constant name="NoiseVolumeAndDecay" value="400c"/>
		<constant name="TriangleVolumeAndDecay" value="4008"/>

		<constant name="Square0Sweep" value="4001"/>
		<constant name="Square1Sweep" value="4005"/>

		<constant name="Square0Frequency" value="4002"/>
		<constant name="Square1Frequency" value="4006"/>
		<constant name="NoiseSampleRate" value="400e"/>
		<constant name="TriangleFrequency" value="400a"/>

		<constant name="Square0Length" value="4003"/>
		<constant name="Square1Length" value="4007"/>
		<constant name="NoiseLength" value="400f"/>
		<constant name="TriangleLength" value="400b"/>

		<constant name="DmaSpriteTransfer" value="4014"/>
		<constant name="SoundChannel" value="4015"/>
		<constant name="Joystick1" value="4016"/>
		<constant name="Joystick2" value="4017"/>
	</constants>
</platform>